<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>
		<?php 
			echo $title_for_layout;
		?>
	</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
	<?php 

	?>
</head>
<body>
	<div id="container">
		<div id="content">
		<?php
			if($session->check('Message.flash')) $session->flash(); 
			if($session->check('Message.auth')) $session->flash('auth');
			echo $content_for_layout;
		?>
		</div>
	</div>
</body>
</html>